import request from "@/utils/request";

// 查询部门临时督办列表
export function listBizLinshiDeptManage(query) {
  return request({
    url: "/biz/bizLinshiDeptManage/list",
    method: "get",
    params: query,
  });
}
export function listBizLinshiDeptManageList(query) {
  return request({
    url: "/biz/bizLinshiDeptManage/linshilist",
    method: "get",
    params: query,
  });
}

// 查询部门临时督办详细
export function getBizLinshiDeptManage(id) {
  return request({
    url: "/biz/bizLinshiDeptManage/" + id,
    method: "get",
  });
}

// 新增部门临时督办
export function addBizLinshiDeptManage(data) {
  return request({
    url: "/biz/bizLinshiDeptManage",
    method: "post",
    data: data,
  });
}

// 修改部门临时督办
export function updateBizLinshiDeptManage(data) {
  return request({
    url: "/biz/bizLinshiDeptManage",
    method: "put",
    data: data,
  });
}

// 删除部门临时督办
export function delBizLinshiDeptManage(id) {
  return request({
    url: "/biz/bizLinshiDeptManage/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizLinshiDeptManage/findMaxSort",
    method: "get",
  });
}
// 导出部门临时督办
export function exportBizLinshiDeptManage(query) {
  return request({
    url: "/biz/bizLinshiDeptManage/export",
    method: "get",
    params: query,
  });
}
